//bedit.h
#include <QWidget>
#include <QString>

#include "srchiliteqt/TextEditHighlighted.h"

class BadgerEditor : public QWidget
{

	Q_OBJECT

	public:
	BadgerEditor( );
	void loadFile( QString& ifile );

	public slots:
	void updateLN( );

	private:
	//editors
	srchiliteqt::TextEditHighlighted* editor;
	QTextEdit* ln;

	QString loadedFile;
	int lastNumLines;
};

